#ifndef __BUTTON_H
#define __BUTTON_H

#include "input.h"
#include "typedefs.h"

enum button_value{
	#ifdef DISPLAY_DIGITRON
	button_F = BUTTON_EVENT_START_ADDR,
	#else
	button_up = BUTTON_EVENT_START_ADDR,
	#endif
	button_seven,
	button_eight,
	button_nine,
	
	#ifdef DISPLAY_DIGITRON
	button_P,
	#else
	button_down,
	#endif
	button_four,
	button_five,
	button_six,
	
	button_left,
	button_one,
	button_two,
	button_three,
	
	button_right,
	button_D,
	button_zero,
	button_E,
	
	button_F1,
	button_F2,
	button_F3,
	button_F4,
	button_number,
	BUTTON_NUM
};

void Button_Process(void);
uint8_t Button_GetNumber(void);

#endif
